//
//  TDObject.m
//  AppScrapper
//
//  Created by Thomas Dixon on 1/6/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import "TDObject.h"

@implementation TDObject
static TDAppScrapper *sharedAppScrapperInstance = nil;

+ (void)setSharedAppScrapperInstance:(TDAppScrapper *)newInstance
{
    @synchronized(self) {
        if (newInstance != sharedAppScrapperInstance) {
            if (sharedAppScrapperInstance)
                [sharedAppScrapperInstance release];
            sharedAppScrapperInstance = [newInstance retain];
        }
    }
}

+ (TDAppScrapper *)sharedAppScrapperInstance
{
    NSParameterAssert(sharedAppScrapperInstance != nil);
    return sharedAppScrapperInstance;
}
@end
